package com.gxa.learning.pc.mapper;

import com.gxa.learning.core.pojo.ExamineApproval;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author lijianmin
 * @date 2021/12/03  11:35:43
 */
public interface ExamineApprovalMapper extends Mapper<ExamineApproval> {
    /**
     * 根据条件搜索
     *
     * @param name             流程名称
     * @param state            流程状态
     * @param type             流程类型
     * @param departmentName   所属部门
     * @param creationTime     生效日期
     * @param uploadPeopleName 上传人
     * @return 返回查询到的集合
     */
    List<Map<String, Object>> selectByLikes(String name, Integer state, String type, String departmentName, Date creationTime, String uploadPeopleName);

}
